package org.example.work.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.work.entity.user;


import java.util.List;

@Mapper
public interface Usermapper {
  List<user> selectAll();
  user select(int id);
@Select({"select *from result where id=#{id}"})
    user selectByID(int id);

}
